#!/bin/bash

if [ $# -ne 3 ]
then
    echo -e "USAGE: run_client.sh <username> <password> <cmd>\n   Where cmd is one of \"shutdown\" or \"stats\""
    exit 65
fi

CLASSPATH=.:iaik_jce.jar java -Djavax.net.ssl.trustStore=mitm.jks -Djavax.net.ssl.trustStorePassword=123456 mitm/MITMAdminClient -userName $1 -userPassword $2 -cmd $3
